package com.heima.admin.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author 胡慧
 * @title: GatewayApplication
 * @projectName heima-leadnews
 * @description: 启动类
 * @date 2021/2/2020:12
 */
@SpringBootApplication
@EnableDiscoveryClient//开启注册中心
public class GatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class,args);
    }
}
